home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / sound / players / maplay_t.z / maplay_t / configuration.sh < prev    next >
Encoding:
Text File  |  1994-02-21  |  2.4 KB  |  66 lines

  1.  
  2. #
  3. #  @(#) configuration.sh 1.5, last edit: 2/17/94 18:21:44
  4. #  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
  5. #  @(#) Berlin University of Technology
  6. #
  7. #  This program is free software; you can redistribute it and/or modify
  8. #  it under the terms of the GNU General Public License as published by
  9. #  the Free Software Foundation; either version 2 of the License, or
  10. #  (at your option) any later version.
  11. #
  12. #  This program is distributed in the hope that it will be useful,
  13. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. #  GNU General Public License for more details.
  16. #
  17. #  You should have received a copy of the GNU General Public License
  18. #  along with this program; if not, write to the Free Software
  19. #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. #
  21.  
  22. ###*** Please modify the entries for your machine: ***###
  23. # please execute "make clean" after changing some values, then execute "make"
  24. case `uname -sr` in
  25.   "IRIX 4.0.5F")
  26.      COMPILER=g++
  27.      COMPILERFLAGS='-O2 -Wall -DIRIX -DIndigo'
  28.      INCLUDEDIRS='-I/homes/cadillac/bading/IRIX/g++-include -I/homes/cadillac/bading/IRIX/include'
  29.      LIBRARIES=-laudio
  30.      AUDIO_INCLUDES='#include <audio.h>' ;;
  31.   "SunOS 5.2")
  32.      COMPILER=g++
  33.      COMPILERFLAGS='-O2 -Wall -DSolaris -DSPARC'
  34.      INCLUDEDIRS='-I/usr/gnu/lib/g++-include -I/usr/gnu/lib/gcc-lib/sol2/2.5.4/include'
  35.      LIBRARIES=
  36.      AUDIO_INCLUDES='#include <sys/audioio.h>' ;;
  37.   "SunOS 4.1.3")
  38.      COMPILER=g++
  39.      COMPILERFLAGS='-O2 -Wall -DSunOS -DSPARC'
  40.      INCLUDEDIRS='-I/usr/gnu/lib/g++-include -I/usr/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.5.1/include'
  41.      LIBRARIES=
  42.      AUDIO_INCLUDES='#include <sun/audioio.h>' ;;
  43.   "ULTRIX 4.2")
  44.      COMPILER=g++
  45.      COMPILERFLAGS='-O2 -Wall -DULTRIX -DDEC -DDAMN_INTEL_BYTE_ORDER'
  46.      INCLUDEDIRS='-I/usr/gnu/lib/g++-include -I/usr/gnu/lib/gcc-lib/decstation/2.5.8/include'
  47.      LIBRARIES=
  48.      AUDIO_INCLUDES= ;;
  49.   *) echo "This programm has not been tested on your type of machine yet!"
  50.      echo "Please modify the file configuration.sh according to your needs!"
  51.      exit
  52. esac
  53.  
  54. export COMPILER COMPILERFLAGS INCLUDEDIRS LIBRARIES
  55.  
  56. if [ ! -f makedepend_done ]; then
  57.   echo $AUDIO_INCLUDES >audio_includes.h
  58.   if make depend; then
  59.     touch makedepend_done
  60.   else
  61.     rm -f makedepend_done
  62.     exit 1;
  63.   fi
  64. fi
  65. make all
  66.